home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / bash-1.12 / dist / RCS / machines.h,v < prev    next >
Encoding:
Text File  |  1992-12-15  |  33.7 KB  |  1,289 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     92.12.15.11.16.57;  author jhh;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     92.12.14.22.39.56;  author jhh;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @@
  22.  
  23.  
  24. 1.2
  25. log
  26. @added sprite machine types
  27. @
  28. text
  29. @/* machines.h --
  30.    Included file in the makefile that gets run through Cpp.  This file
  31.    tells which machines have what features based on the unique machine
  32.    identifier present in Cpp. */
  33.  
  34. /* **************************************************************** */
  35. /*                                                                  */
  36. /*                Global Assumptions (true for most systems).       */
  37. /*                                                                  */
  38. /* **************************************************************** */
  39.  
  40. /* We make some global assumptions here.  This can be #undef'ed in
  41.    various machine specific entries. */
  42.  
  43. /* If this file is being processed with Gcc, then the user has Gcc. */
  44. #if defined (__GNUC__)
  45. #  if !defined (HAVE_GCC)
  46. #    define HAVE_GCC
  47. #  endif /* HAVE_GCC */
  48. #endif /* __GNUC__ */
  49.  
  50. /* Assume that all machines have the getwd () system call.  We unset it
  51.    for USG systems. */
  52. #define HAVE_GETWD
  53.  
  54. /* Assume that all systems have a working getcwd () call.  We unset it for
  55.    ISC systems. */
  56. #define HAVE_GETCWD
  57.  
  58. /* Most (but not all) systems have a good, working version of dup2 ().
  59.    For systems that don't have the call (HP/UX), and for systems
  60.    that don't set the open-on-exec flag for the dup'ed file descriptors,
  61.    (Sequents running Dynix, Ultrix), #undef HAVE_DUP2 in the machine
  62.    description. */
  63. #define HAVE_DUP2
  64.  
  65. /* Every machine that has Gcc has alloca as a builtin in Gcc.  If you are
  66.    compiling Bash without Gcc, then you must have alloca in a library,
  67.    in your C compiler, or be able to assemble or compile the alloca source
  68.    that we ship with Bash. */
  69. #define HAVE_ALLOCA
  70.  
  71. /* We like most machines to use the GNU Malloc routines supplied in the
  72.    source code because they provide high quality error checking.  On
  73.    some machines, our malloc () cannot be used (because of library
  74.    conflicts, for example), and for those, you should specifically
  75.    #undef USE_GNU_MALLOC in the machine description. */
  76. #define USE_GNU_MALLOC
  77.  
  78. /* **************************************************************** */
  79. /*                                    */
  80. /*            Sun Microsystems Machines                  */
  81. /*                                    */
  82. /* **************************************************************** */
  83. /* ******************************** */
  84. /*                    */
  85. /*       Sun Sprite            */
  86. /*                    */
  87. /* ******************************** */
  88.  
  89. #if defined(sun) && defined(sprite)
  90. #define M_MACHINE "sun4"
  91. #define M_OS Sprite
  92. #define REQUIRED_LIBRARIES
  93. #define HAVE_SYS_SIGLIST
  94. #define HAVE_SETLINEBUF
  95. #define HAVE_VFPRINTF
  96. #define HAVE_GETGROUPS
  97. #define SYSDEP_CFLAGS
  98. #define HAVE_STRERROR 
  99. #define VOID_SIGHANDLER 
  100. #undef USE_GNU_MALLOC
  101. #else
  102.  
  103. #if defined (sun)
  104.  
  105. /* We aren't currently using GNU Malloc on Suns because of a bug in Sun's
  106.    YP which bites us when Sun free ()'s an already free ()'ed address.
  107.    When Sun fixes their YP, we can start using our winning malloc again. */
  108. #  undef USE_GNU_MALLOC
  109.  
  110. /* Most Sun systems have signal handler functions that are void. */
  111. #  define VOID_SIGHANDLER
  112.  
  113. #  if defined (mc68010)
  114. #    define sun2
  115. #  endif
  116. #  if defined (mc68020)
  117. #    define sun3
  118. #  endif
  119. #  if defined (sparc)
  120. #    define sun4
  121. #  endif
  122. #  if defined (i386)
  123. #    define Sun386i
  124. #  endif
  125. #if defined (HAVE_SHARED_LIBS)
  126. #  define M_OS SunOS4
  127. #  define SunOS4_SYSDEP_CFLAGS -DBSD_GETPGRP
  128. #else
  129. #  if !defined (sparc)
  130. #     undef VOID_SIGHANDLER
  131. #  endif
  132. #  define M_OS SunOS3
  133. #endif
  134. #endif /* sun */
  135.  
  136. /* ************************ */
  137. /*                */
  138. /*        Sun2        */
  139. /*                */
  140. /* ************************ */
  141. #if defined (sun2)
  142. #define M_MACHINE "sun2"
  143. #define HAVE_SYS_SIGLIST
  144. #define HAVE_SETLINEBUF
  145. #define HAVE_VFPRINTF
  146. #define HAVE_GETGROUPS
  147. #endif /* sun2 */
  148.  
  149. /* ************************ */
  150. /*                */
  151. /*        Sun3        */
  152. /*                */
  153. /* ************************ */
  154. #if defined (sun3)
  155. #define M_MACHINE "sun3"
  156. #if defined (SunOS4_SYSDEP_CFLAGS)
  157. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  158. #endif /* SunOS4 */
  159. #define HAVE_SYS_SIGLIST
  160. #define HAVE_SETLINEBUF
  161. #define HAVE_VFPRINTF
  162. #define HAVE_GETGROUPS
  163. #endif /* sun3 */
  164.  
  165. /* ************************ */
  166. /*                */
  167. /*        Sparc        */
  168. /*                */
  169. /* ************************ */
  170. #if defined (sun4)
  171. #define M_MACHINE "sparc"
  172. #if defined (SunOS4_SYSDEP_CFLAGS)
  173. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  174. #endif /* SunOS4 */
  175. #define HAVE_SYS_SIGLIST
  176. #define HAVE_SETLINEBUF
  177. #define HAVE_VFPRINTF
  178. #define HAVE_GETGROUPS
  179. #endif /* sparc */
  180.  
  181. /* ************************ */
  182. /*                */
  183. /*        Sun386i        */
  184. /*                */
  185. /* ************************ */
  186. #if defined (Sun386i)
  187. #define done386
  188. #define M_MACHINE "Sun386i"
  189. #if defined (SunOS4_SYSDEP_CFLAGS)
  190. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  191. #endif /* SunOS4 */
  192. #define HAVE_SYS_SIGLIST
  193. #define HAVE_SETLINEBUF
  194. #define HAVE_VFPRINTF
  195. #define HAVE_GETGROUPS
  196. #endif /* Sun386i */
  197.  
  198. #endif /* sprite */
  199. /* **************************************************************** */
  200. /*                                    */
  201. /*            DEC Machines (vax, decstations)           */
  202. /*                                    */
  203. /* **************************************************************** */
  204.  
  205. /* ************************ */
  206. /*                */
  207. /*        Ultrix        */
  208. /*                */
  209. /* ************************ */
  210. #if defined (ultrix)
  211. #if defined (MIPSEL)
  212. #  undef HAVE_ALLOCA_H
  213. #  define M_MACHINE "MIPSEL"
  214. #  if !defined (HAVE_GCC)
  215. #    define MIPS_CFLAGS -Wf,-XNl3072
  216. #  endif
  217. #else /* !MIPSEL */
  218. #  define M_MACHINE "vax"
  219. #endif /* MIPSEL */
  220. #if defined (MIPS_CFLAGS)
  221. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING MIPS_CFLAGS
  222. #else
  223. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING
  224. #endif
  225. #define M_OS Ultrix
  226. #define VOID_SIGHANDLER
  227. #define HAVE_SYS_SIGLIST
  228. #define HAVE_SETLINEBUF
  229. #define HAVE_VFPRINTF
  230. #define HAVE_GETGROUPS
  231. #undef HAVE_DUP2
  232. #endif /* ultrix */
  233.  
  234. /* ************************ */
  235. /*                */
  236. /*    VAX 4.3 BSD        */
  237. /*                */
  238. /* ************************ */
  239. #if defined (vax) && !defined (ultrix)
  240. #define M_MACHINE "vax"
  241. #define M_OS Bsd
  242. #define HAVE_SETLINEBUF
  243. #define HAVE_SYS_SIGLIST
  244. #define HAVE_GETGROUPS
  245. #endif /* vax && !ultrix */
  246.  
  247. /* **************************************** */
  248. /*                        */
  249. /*        SGI Iris/IRIX                */
  250. /*                        */
  251. /* **************************************** */
  252. #if defined (sgi)
  253. #  if defined (Irix3)
  254. #    define M_OS "Irix3"
  255. #    define MIPS_CFLAGS -real_frameptr -Wf,-XNl3072
  256. #    undef HAVE_ALLOCA
  257. #  endif /* Irix3 */
  258. #  if defined (Irix4)
  259. #    define M_OS "Irix4"
  260. #    define MIPS_CFLAGS -Wf,-XNl3072
  261. #  endif /* Irix4 */
  262. #define M_MACHINE "sgi"
  263. #define HAVE_GETGROUPS
  264. #define VOID_SIGHANDLER
  265. #define HAVE_SYS_SIGLIST
  266. #define HAVE_SETLINEBUF
  267. #define HAVE_VFPRINTF
  268. #define REQUIRED_LIBRARIES -lsun
  269. #if defined (HAVE_GCC) || !defined (mips)
  270. #  undef MIPS_CFLAGS
  271. #  define MIPS_CFLAGS
  272. #endif /* HAVE_GCC || !mips */
  273. #define SYSDEP_CFLAGS -DUSG -DPGRP_PIPE MIPS_CFLAGS
  274. #undef HAVE_GETWD
  275. #endif  /* sgi */
  276.  
  277. /* ************************ */
  278. /*                */
  279. /*        Sony        */
  280. /*                */
  281. /* ************************ */
  282. #if defined (sony)
  283. #if defined (MIPSEB)
  284. #  define M_MACHINE "MIPSEB"
  285. #else
  286. #  define M_MACHINE "sony"
  287. #endif
  288.  
  289. #if defined (SYSTYPE_SYSV) || defined (USGr4)
  290. #  define M_OS USG
  291. #  undef HAVE_GETWD
  292. #  define HAVE_VFPRINTF
  293. #  define VOID_SIGHANDLER
  294.    /* Alloca requires either Gcc or cc with -lucb. */
  295. #  if !defined (HAVE_GCC)
  296. #    define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  297. #    define REQUIRED_LIBRARIES -lc -lucb
  298. #  endif /* !HAVE_GCC */
  299. #  if defined (MIPSEB)
  300. #    if !defined (HAVE_GCC)
  301. #      define SYSDEP_CFLAGS -Wf,-XNl3072 -DUSGr4
  302. #    else
  303. #      define SYSDEP_CFLAGS -DUSGr4
  304. #    endif /* HAVE_GCC */
  305. #  else
  306. #    define SYSDEP_CFLAGS -DUSGr4
  307. #  endif /* MIPSEB */
  308. #else
  309. #  define M_OS Bsd
  310. #endif /* SYSTYPE_SYSV */
  311. #define HAVE_SYS_SIGLIST
  312. #define HAVE_SETLINEBUF
  313. #define HAVE_GETGROUPS
  314. #endif /* sony */
  315.  
  316. /* ******************************** */
  317. /*                    */
  318. /*       MIPS Sprite            */
  319. /*                    */
  320. /* ******************************** */
  321.  
  322. #if defined(mips) && defined(sprite)
  323. #define M_MACHINE "MIPSEL"
  324. #define M_OS Sprite
  325. #define REQUIRED_LIBRARIES
  326. #define HAVE_SYS_SIGLIST
  327. #define HAVE_SETLINEBUF
  328. #define HAVE_VFPRINTF
  329. #define HAVE_GETGROUPS
  330. #define SYSDEP_CFLAGS -Uultrix -D"sprite" -Dds3100
  331. #define HAVE_STRERROR 
  332. #define VOID_SIGHANDLER 
  333. #undef USE_GNU_MALLOC
  334. #endif
  335.  
  336. /* ******************************** */
  337. /*                    */
  338. /*       MIPS RISC/os            */
  339. /*                    */
  340. /* ******************************** */
  341.  
  342. /* Notes on compiling with "make":
  343.  
  344.    * Place /bsd43/bin in your PATH before /bin.
  345.    * Use `$(CC) -E' instead of `/lib/cpp' in Makefile.
  346. */
  347. #if defined (mips) && !defined (M_MACHINE)
  348.  
  349. #if defined (MIPSEB)
  350. #  define M_MACHINE "MIPSEB"
  351. #else
  352. #  if defined (MIPSEL)
  353. #    define M_MACHINE "MIPSEL"
  354. #  else
  355. #    define M_MACHINE "mips"
  356. #  endif /* MIPSEL */
  357. #endif /* MIPSEB */
  358.  
  359. #define M_OS Bsd
  360.  
  361. /* Special things for machines from MIPS Co. */
  362. #define mips_CFLAGS -DOPENDIR_NOT_ROBUST -DPGRP_PIPE
  363.  
  364. #if defined (HAVE_GCC)
  365. #  define SYSDEP_CFLAGS mips_CFLAGS
  366. #else
  367. #  define SYSDEP_CFLAGS -Wf,-XNl3072 -systype bsd43 mips_CFLAGS
  368. #endif /* !HAVE_GCC */
  369. #define HAVE_SYS_SIGLIST
  370. #define HAVE_SETLINEBUF
  371. #define HAVE_VFPRINTF
  372. #define HAVE_GETGROUPS
  373. /* This is actually present but unavailable in the BSD universe? */
  374. #undef HAVE_UNISTD_H
  375. #if !defined (HAVE_RESOURCE)
  376. #  define HAVE_RESOURCE
  377. #endif
  378. /* Appears not to work correctly, so why use it? */
  379. #undef HAVE_WAIT_H
  380. #endif /* mips */
  381.  
  382. /* ************************ */
  383. /*                */
  384. /*      Pyramid        */
  385. /*                */
  386. /* ************************ */
  387. #if defined (pyr)
  388. #define M_MACHINE "Pyramid"
  389. #define M_OS Bsd
  390. #if !defined (HAVE_GCC)
  391. #  undef HAVE_ALLOCA
  392. #endif /* HAVE_GCC */
  393. #define HAVE_SYS_SIGLIST
  394. #define HAVE_SETLINEBUF
  395. /* #define HAVE_VFPRINTF */
  396. #define HAVE_GETGROUPS
  397. #endif /* pyr */
  398.  
  399. /* ************************ */
  400. /*                */
  401. /*        IBMRT        */
  402. /*                */
  403. /* ************************ */
  404. /* Notes:  Compiling with pcc seems to work better than compiling with
  405.    the hc compiler.  I had problems when compiling with hc with alloca,
  406.    even though the -ma flag was defined.  (bfox) */
  407. #if defined (ibm032)
  408. #define M_MACHINE "IBMRT"
  409. #define M_OS Bsd
  410. #define HAVE_SYS_SIGLIST
  411. #define HAVE_SETLINEBUF
  412. /* Some systems cannot find vfprintf at load time. */
  413. /* #define HAVE_VFPRINTF */
  414. /* Alloca requires either gcc or pcc with -ma in SYSDEP_CFLAGS. */
  415. #if !defined (HAVE_GCC)
  416. #  define SYSDEP_CFLAGS -ma -U__STDC__
  417. #endif
  418. #define HAVE_GETGROUPS
  419. /* #define USE_GNU_TERMCAP */
  420. #endif /* ibm032 */
  421.  
  422.  
  423. /* **************************************************************** */
  424. /*                                    */
  425. /*      All Intel 386 Processor Machines are Defined Here!        */
  426. /*                                    */
  427. /* **************************************************************** */
  428.  
  429. #if defined (i386)
  430.  
  431. /* **************************************************************** */
  432. /*                                                                  */
  433. /*                       Sequent Machines                           */
  434. /*                                                                  */
  435. /* **************************************************************** */
  436.  
  437. /* Sequent Symmetry running Dynix/ptx (System V.3.2) */
  438. #  if !defined (done386) && defined (_SEQUENT_)
  439. #    define done386
  440. #    define M_MACHINE "Symmetry"
  441. #    define M_OS USG
  442. #    define SYSDEP_CFLAGS -DUSGr3
  443. #    define HAVE_VFPRINTF
  444. #    define VOID_SIGHANDLER
  445. #    define HAVE_ALLOCA
  446. #    define REQUIRED_LIBRARIES -lPW -lseq
  447. #    undef HAVE_GETWD
  448. #    undef HAVE_RESOURCE
  449. #  endif /* _SEQUENT_ */
  450.  
  451. /* Sequent Symmetry running Dynix (4.2 BSD) */
  452. #  if !defined (done386) && defined (sequent)
  453. #    define done386
  454. #    define M_MACHINE "Symmetry"
  455. #    define M_OS Bsd
  456. #    define SYSDEP_CFLAGS -DCPCC -DHAVE_SETDTABLESIZE
  457. #    define HAVE_SETLINEBUF
  458. #    define HAVE_SYS_SIGLIST
  459. #    define HAVE_GETGROUPS
  460. #    undef HAVE_DUP2
  461. #  endif /* Sequent 386 */
  462.  
  463. /* Generic 386 clone running Mach (4.3 BSD-compatible). */
  464. #  if !defined (done386) && defined (MACH)
  465. #    define done386
  466. #    define M_MACHINE "i386"
  467. #    define M_OS Bsd
  468. #    define HAVE_SETLINEBUF
  469. #    define HAVE_SYS_SIGLIST
  470. #    define HAVE_GETGROUPS
  471. #  endif /* i386 && MACH */
  472.  
  473. /* AIX/PS2 1.2 for the 386. */
  474. #  if !defined (done386) && defined (aixpc)
  475. #    define done386
  476. #    define M_MACHINE "aixpc"
  477. #    define M_OS AIX
  478. #    define HAVE_VFPRINTF
  479. #    define VOID_SIGHANDLER
  480. #    define SYSDEP_CFLAGS -D_BSD
  481. #    define REQUIRED_LIBRARIES -lbsd
  482. #    define HAVE_GETGROUPS
  483. #    if !defined (HAVE_GCC)
  484. #      undef HAVE_ALLOCA
  485. #      undef HAVE_ALLOCA_H
  486. #    endif /* !HAVE_GCC */
  487. #  endif /* AIXPC i386 */
  488.  
  489. /* System V Release 4 on the 386 */
  490. #  if !defined (done386) && defined (USGr4)
  491. #    define done386
  492. #    define M_MACHINE "i386"
  493. #    define M_OS USG
  494. #    define HAVE_SYS_SIGLIST
  495. #    define HAVE_VFPRINTF
  496. #    define VOID_SIGHANDLER
  497.      /* Alloca requires either Gcc or cc with -lucb. */
  498. #    if !defined (HAVE_GCC)
  499. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  500. #      define REQUIRED_LIBRARIES -lc -lucb
  501. #    endif /* !HAVE_GCC */
  502. #    define HAVE_GETGROUPS
  503. #    define SYSDEP_CFLAGS -DUSGr4
  504. #    undef HAVE_GETWD
  505. #  endif /* System V Release 4 on i386 */
  506.  
  507. /* 386 box running Interactive Unix 2.2 or greater. */
  508. #  if !defined (done386) && defined (isc386)
  509. #    define done386
  510. #    define M_MACHINE "isc386"
  511. #    define M_OS USG
  512. #    define HAVE_VFPRINTF
  513. #    define VOID_SIGHANDLER
  514. #    define HAVE_GETGROUPS
  515. #    if !defined (HAVE_GCC)
  516. #      define REQUIRED_LIBRARIES -lPW -lc_s
  517. #      define SYSDEP_LDFLAGS -Xp
  518.        /* ISC's wait.h requires lots of POSIX junk.  Forget it. */
  519. #      undef HAVE_WAIT_H
  520. #    endif
  521. #    if defined (NOTDEF)
  522.        /* libcposix.a contains putc, getc, fileno. */
  523. #      define REQUIRED_LIBRARIES -lcposix
  524. #    endif /* NOTDEF */
  525. #    undef HAVE_GETWD
  526. #    undef HAVE_GETCWD
  527.      /* <sys/types.h> uses mode_t, but doesn't define it unless
  528.     _POSIX_SOURCE is defined.  But when _POSIX_SOURCE is defined,
  529.     <signal.h> tries to use pid_t without including <sys/types.h>!
  530.     What a mess.
  531.  
  532.     ISC's <sys/fcntl.h> doesn't want to define O_NDELAY if __STDC__
  533.     is defined.  We fix that here also.  */
  534. #    if defined (__STDC__) || defined (HAVE_GCC)
  535. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE \
  536.     -Dmode_t="unsigned short" -DO_NDELAY=O_NONBLOCK -DPGRP_PIPE
  537. #    else
  538. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE -DPGRP_PIPE
  539. #    endif /* __STDC__ || HAVE_GCC */
  540. #  endif /* isc386 */
  541.  
  542. /* Xenix386 machine. */
  543. #if !defined (done386) && defined (Xenix386)
  544. #  define done386
  545. #  define M_MACHINE "i386"
  546. #  define M_OS Xenix
  547. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  548. #  define HAVE_VFPRINTF
  549. #  define VOID_SIGHANDLER
  550. #  define ALLOCA_ASM x386-alloca.s
  551. #  define REQUIRED_LIBRARIES -lx
  552. #  undef HAVE_ALLOCA
  553. #endif /* Xenix386 */
  554.  
  555. /* SCO UNIX 3.2 chip@@count.tct.com (Chip Salzenberg) */
  556. #  if !defined (done386) && defined (M_UNIX)
  557. #    define done386
  558. #    define M_MACHINE "i386"
  559. #    define M_OS SCO
  560. #    define SYSDEP_CFLAGS -DUSG -DUSGr3
  561. #    define HAVE_VFPRINTF
  562. #    define VOID_SIGHANDLER
  563. #    define HAVE_GETGROUPS
  564. #    undef HAVE_GETWD
  565. #    undef HAVE_RESOURCE
  566. #  endif /* SCO Unix on 386 boxes. */
  567.  
  568. /* Assume a generic 386 running Sys V Release 3. */
  569. #  if !defined (done386)
  570. #    define done386
  571. #    define M_MACHINE "i386"
  572. #    define M_OS USG
  573. #    define SYSDEP_CFLAGS -DUSGr3
  574. #    define HAVE_VFPRINTF
  575. #    define VOID_SIGHANDLER
  576.      /* Alloca requires either Gcc or cc with libPW.a */
  577. #    if !defined (HAVE_GCC)
  578. #      define REQUIRED_LIBRARIES -lPW
  579. #    endif /* !HAVE_GCC */
  580. #    undef HAVE_GETWD
  581. #  endif /* Generic i386 Box running Sys V release 3. */
  582. #endif /* All i386 Machines with an `i386' define in cpp. */
  583.  
  584.  
  585. /* **************************************************************** */
  586. /*                                    */
  587. /*              Gould 9000 - UTX/32 R2.1A                */
  588. /*                                    */
  589. /* **************************************************************** */
  590. #if defined (gould)        /* Maybe should be GOULD_PN ? */
  591. #define M_MACHINE "gould"
  592. #define M_OS Bsd
  593. #define HAVE_SYS_SIGLIST
  594. #define HAVE_SETLINEBUF
  595. #define HAVE_GETGROUPS
  596. #endif /* gould */
  597.  
  598. /* ************************ */
  599. /*                */
  600. /*        NeXT        */
  601. /*                */
  602. /* ************************ */
  603. #if defined (NeXT)
  604. #define M_MACHINE "NeXT"
  605. #define M_OS Bsd
  606. #define HAVE_VFPRINTF
  607. #define HAVE_SYS_SIGLIST
  608. #define HAVE_GETGROUPS
  609. #define HAVE_STRERROR
  610. #define VOID_SIGHANDLER
  611. #undef USE_GNU_MALLOC
  612. #endif
  613.  
  614. /* ************************ */
  615. /*                */
  616. /*    hp9000 4.3 BSD        */
  617. /*                */
  618. /* ************************ */
  619. #if defined (hp9000) && !defined (hpux)
  620. #define M_MACHINE "hp9000"
  621. #define M_OS Bsd
  622. #undef HAVE_ALLOCA
  623. #define HAVE_SYS_SIGLIST
  624. #define HAVE_SETLINEBUF
  625. #define HAVE_GETGROUPS
  626. #endif /* hp9000 && !hpux */
  627.  
  628. /* ************************ */
  629. /*                */
  630. /*        hpux        */
  631. /*                */
  632. /* ************************ */
  633. #if defined (hpux)
  634. #define M_MACHINE "hpux"
  635.  
  636. /* This is for 6.2+ systems with job control. */
  637. #define M_OS HPUX
  638.  
  639. /* For HP-UX systems before 6.2, we don't have job control. */
  640. /* #undef M_OS */
  641. /* #define M_OS USG */
  642.  
  643. /* For HP-UX 7.0, we don't need the -lBSD. */
  644. #if defined (__hpux)
  645. #  define HPUX_70
  646. #endif
  647.  
  648. #if defined (HPUX_70)
  649. #  define SYSDEP_CFLAGS -DHPUX_70
  650. #  define REQUIRED_LIBRARIES -lPW
  651. #  undef HAVE_GETWD
  652. #else /* Not 7.0 OS version. */
  653. #  define REQUIRED_LIBRARIES -lPW -lBSD
  654. #endif /* __hpux */
  655.  
  656. #define HAVE_VFPRINTF
  657. #define VOID_SIGHANDLER
  658. #define HAVE_GETGROUPS
  659. #define HAVE_STRERROR
  660. #define SEARCH_LIB_NEEDS_SPACE
  661. #endif /* hpux */
  662.  
  663. /* ************************ */
  664. /*                */
  665. /*        Xenix286        */
  666. /*                */
  667. /* ************************ */
  668. #if defined (Xenix286)
  669. #define M_MACHINE "i286"
  670. #define M_OS Xenix
  671. #undef HAVE_ALLOCA
  672. #define REQUIRED_LIBRARIES -lx
  673. #define SYSDEP_CFLAGS -DREVERSED_SETVBUF_ARGS
  674. #endif
  675.  
  676. /* Xenix 386 box not caught in i386 case above. */
  677. #if !defined (M_MACHINE) && defined (Xenix386)
  678. #  define M_MACHINE "i386"
  679. #  define M_OS Xenix
  680. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  681. #  define HAVE_VFPRINTF
  682. #  define VOID_SIGHANDLER
  683. #  define ALLOCA_ASM x386-alloca.s
  684. #  define REQUIRED_LIBRARIES -lx
  685. #  undef HAVE_ALLOCA
  686. #endif /* Xenix386 */
  687.  
  688. /* ************************ */
  689. /*                */
  690. /*        convex        */
  691. /*                */
  692. /* ************************ */
  693. #if defined (convex)
  694. #define M_MACHINE "convex"
  695. #define M_OS Bsd
  696. #undef HAVE_ALLOCA
  697. #define HAVE_SETLINEBUF
  698. #define HAVE_SYS_SIGLIST
  699. #define HAVE_GETGROUPS
  700. #endif /* convex */
  701.  
  702. /* ************************ */
  703. /*                */
  704. /*        AIX/RT        */
  705. /*                */
  706. /* ************************ */
  707. #if defined (aix) && !defined (aixpc)
  708. #define M_MACHINE "AIX"
  709. #define M_OS Bsd
  710. #undef HAVE_ALLOCA
  711. #define HAVE_VFPRINTF
  712. #define HAVE_SYS_SIGLIST
  713. #define VOID_SIGHANDLER
  714. #define HAVE_GETGROUPS
  715. #define USE_TERMCAP_EMULATION
  716. #endif /* AIX */
  717.  
  718. /* **************************************** */
  719. /*                        */
  720. /*        IBM RISC 6000            */
  721. /*                        */
  722. /* **************************************** */
  723. #if defined (RISC6000) || defined (_IBMR2)
  724. #define M_MACHINE "RISC6000"
  725. #define M_OS "AIX"
  726. #undef HAVE_GETWD
  727. #undef HAVE_ALLOCA
  728. #define HAVE_SYS_SIGLIST
  729. #define HAVE_SETLINEBUF
  730. #define HAVE_VFPRINTF
  731. #define VOID_SIGHANDLER
  732. #define USE_TERMCAP_EMULATION
  733. #define HAVE_GETGROUPS
  734. #define SYSDEP_CFLAGS -DNLS -DUSG
  735. #undef USE_GNU_MALLOC
  736. #endif /* RISC6000 */
  737.  
  738. /* **************************************** */
  739. /*                        */
  740. /*    u370 IBM AIX/370            */
  741. /*                        */
  742. /* **************************************** */
  743. #if defined (u370)
  744. #  if defined (_AIX370)
  745. #    define M_MACHINE "AIX370"
  746. #    define M_OS Bsd
  747. #    define REQUIRED_LIBRARIES -lbsd
  748. #    define HAVE_SETLINEBUF
  749. #    define HAVE_VFPRINTF
  750. #    define SYSDEP_CFLAGS -D_BSD
  751. #    define HAVE_GETGROUPS
  752. #    define USE_TERMCAP_EMULATION
  753. #    undef USE_GNU_MALLOC
  754. #  endif /* _AIX370 */
  755. #  if defined (USGr4) /* System V Release 4 on 370 series architecture. */
  756. #    define M_MACHINE "uxp"
  757. #    define M_OS USG
  758. #    define HAVE_SYS_SIGLIST
  759. #    define HAVE_VPRINTF
  760. #    define USE_GNU_MALLOC
  761. #    define VOID_SIGHANDLER
  762. #    if !defined (HAVE_GCC)
  763. #      undef HAVE_ALLOCA
  764. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  765. #      define REQUIRED_LIBRARIES -lc -lucb
  766. #    endif /* !HAVE_GCC */
  767. #    define HAVE_GETGROUPS
  768. #    define HAVE_RESOURCE
  769. #    define SYSDEP_CFLAGS -DUSGr4
  770. #    endif /* USGr4 */
  771. #endif /* u370 */  
  772.  
  773. /* ************************ */
  774. /*                */
  775. /*        ATT 3B        */
  776. /*                */
  777. /* ************************ */
  778. #if defined (att3b) || defined (u3b2)
  779. #if defined (att3b)
  780. #  define M_MACHINE "att3b"
  781. #  define HAVE_SYS_SIGLIST
  782. #else
  783. #  define M_MACHINE "u3b2"
  784. #endif
  785. #define M_OS USG
  786. #undef HAVE_GETWD
  787. #define HAVE_VFPRINTF
  788. #define VOID_SIGHANDLER
  789. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  790. #define SYSDEP_CFLAGS -DUSGr3
  791. /* Alloca requires either Gcc or cc with libPW.a. */
  792. #if !defined (HAVE_GCC)
  793. #  define REQUIRED_LIBRARIES -lPW
  794. #endif /* !HAVE_GCC */
  795. #endif /* att3b */
  796.  
  797. /* ************************ */
  798. /*                */
  799. /*        ATT 386        */
  800. /*                */
  801. /* ************************ */
  802. #if defined (att386)
  803. #define M_MACHINE "att386"
  804. #define M_OS USG
  805. #undef HAVE_GETWD
  806. /* Alloca requires either Gcc or cc with libPW.a. */
  807. #if !defined (HAVE_GCC)
  808. #  define REQUIRED_LIBRARIES -lPW
  809. #endif /* HAVE_GCC */
  810. #define HAVE_SYS_SIGLIST
  811. #define HAVE_VFPRINTF
  812. #define VOID_SIGHANDLER
  813. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  814. #define SYSDEP_CFLAGS -DUSGr3
  815. #endif /* att386 */
  816.  
  817. /* ************************ */
  818. /*                */
  819. /*        Encore        */
  820. /*                */
  821. /* ************************ */
  822. #if defined (MULTIMAX)
  823. #  if defined (n16)
  824. #    define M_MACHINE "Multimax32k"
  825. #  else
  826. #    define M_MACHINE "Multimax"
  827. #  endif /* n16 */
  828. #  if defined (UMAXV)
  829. #    define M_OS USG
  830. #    define REQUIRED_LIBRARIES -lPW
  831. #    define SYSDEP_CFLAGS -DUSGr3
  832. #    define HAVE_VFPRINTF
  833. #    define USE_TERMCAP_EMULATION
  834. #    define VOID_SIGHANDLER
  835. #  else
  836. #    if defined (CMU)
  837. #      define M_OS Mach
  838. #    else
  839. #      define M_OS Bsd
  840. #    endif /* CMU */
  841. #    define HAVE_SYS_SIGLIST
  842. #    define HAVE_STRERROR
  843. #    define HAVE_SETLINEBUF
  844. #  endif /* UMAXV */
  845. #  define HAVE_GETGROUPS
  846. #endif  /* MULTIMAX */
  847.  
  848. /* ******************************************** */
  849. /*                        */
  850. /*   Encore Series 91 (88K BCS w Job Control)    */
  851. /*                        */
  852. /* ******************************************** */
  853. #if defined (__m88k) && defined (__UMAXV__)
  854. #define M_MACHINE "Gemini"
  855. #define M_OS USG
  856. #define REQUIRED_LIBRARIES -lPW
  857. #define USE_TERMCAP_EMULATION
  858. #define HAVE_VFPRINTF
  859. #define HAVE_GETGROUPS
  860. #define VOID_SIGHANDLER
  861. #define SYSDEP_CFLAGS -q ext=pcc -D_POSIX_JOB_CONTROL -D_POSIX_VERSION \
  862.               -Dmalloc=_malloc -Dfree=_free -Drealloc=_realloc
  863. #endif  /* m88k */
  864.  
  865. /* ******************************************** */
  866. /*                        */
  867. /*    System V Release 4 on the ICL DRS6000     */
  868. /*                        */
  869. /* ******************************************** */
  870. #if defined (drs6000)
  871. #define M_MACHINE "drs6000"
  872. #define M_OS USG
  873. #define SYSDEP_CFLAGS -Xa -DUSGr4 -Dsys_siglist=_sys_siglist
  874. #define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  875. #define SEARCH_LIB_NEEDS_SPACE
  876. #define REQUIRED_LIBRARIES -lc -lucb
  877. #define HAVE_SYS_SIGLIST
  878. #define HAVE_SETLINEBUF
  879. #define HAVE_VFPRINTF
  880. #define HAVE_GETGROUPS
  881. #define HAVE_STRERROR
  882. #define VOID_SIGHANDLER
  883. #undef  HAVE_ALLOCA
  884. #undef    HAVE_ALLOCA_H
  885. #undef    USE_GNU_MALLOC
  886. #endif /* drs6000 */
  887.  
  888. /* ******************************************** */
  889. /*                        */
  890. /*  System V Release 4 on the Commodore Amiga   */
  891. /*                        */
  892. /* ******************************************** */
  893. #if defined (amiga)
  894. #define M_MACHINE "amiga"
  895. #define M_OS USG
  896. #define SYSDEP_CFLAGS -DUSGr4
  897. #if !defined (HAVE_GCC)
  898. #  define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  899. #  define REQUIRED_LIBRARIES -lc -lucb
  900. #endif /* !HAVE_GCC */
  901. #define HAVE_SYS_SIGLIST
  902. #define HAVE_VFPRINTF
  903. #define VOID_SIGHANDLER
  904. #define HAVE_GETGROUPS
  905. #define HAVE_STRERROR
  906. #undef HAVE_GETWD
  907. #undef USE_GNU_MALLOC
  908. #endif /* System V Release 4 on amiga */
  909.  
  910. /* ************************ */
  911. /*                */
  912. /*        clipper        */
  913. /*                */
  914. /* ************************ */
  915. /* This is for the Orion 1/05 (A BSD 4.2 box based on a Clipper processor) */
  916. #if defined (clipper)
  917. #define M_MACHINE "clipper"
  918. #define M_OS Bsd
  919. #define HAVE_SETLINEBUF
  920. #define HAVE_GETGROUPS
  921. #endif  /* clipper */
  922.  
  923.  
  924. /* ******************************** */
  925. /*                    */
  926. /*    Integrated Solutions 68020?   */
  927. /*                    */
  928. /* ******************************** */
  929. #if defined (is68k)
  930. #define M_MACHINE "is68k"
  931. #define M_OS Bsd
  932. #undef HAVE_ALLOCA
  933. #define HAVE_SYS_SIGLIST
  934. #define HAVE_SETLINEBUF
  935. #define HAVE_GETGROUPS
  936. #endif /* is68k */
  937.  
  938. /* ******************************** */
  939. /*                    */
  940. /*       Omron Luna/Mach 2.5        */
  941. /*                    */
  942. /* ******************************** */
  943. #if defined (luna88k)
  944. #define M_MACHINE "Luna88k"
  945. #define M_OS Bsd
  946. #define HAVE_SYS_SIGLIST
  947. #define USE_GNU_MALLOC
  948. #define HAVE_SETLINEBUF
  949. #define HAVE_VFPRINTF
  950. #define HAVE_GETGROUPS
  951. #endif  /* luna88k */
  952.  
  953. /* **************************************** */
  954. /*                        */
  955. /*        Apollo/SR10.2/BSD4.3        */
  956. /*                        */
  957. /* **************************************** */
  958. /* This is for the Apollo DN3500 running SR10.2 BSD4.3 */
  959. #if defined (apollo)
  960. #define M_MACHINE "apollo"
  961. #define M_OS Bsd
  962. #define SYSDEP_CFLAGS -D_POSIX_VERSION -D_INCLUDE_BSD_SOURCE -D_INCLUDE_POSIX_SOURCE -DTERMIOS_MISSING -DBSD_GETPGRP -Dpid_t=int
  963. #define HAVE_SYS_SIGLIST
  964. #define HAVE_SETLINEBUF
  965. #define HAVE_GETGROUPS
  966. #endif  /* apollo */
  967.  
  968. /* ************************ */
  969. /*                */
  970. /*    DG AViiON        */
  971. /*                */
  972. /* ************************ */
  973. /* This is for the DG AViiON box (runs DG/UX with both AT&T & BSD features.) */
  974. #if defined (__DGUX__) || defined (DGUX)
  975. #define M_MACHINE "AViiON"
  976. #define M_OS USG
  977. #undef HAVE_GETWD
  978. #define SYSDEP_CFLAGS -D_DGUX_SOURCE -DPGRP_PIPE /* -D_M88K_SOURCE */
  979. /* DG/UX comes standard with gcc. */
  980. #define HAVE_GCC
  981. #define HAVE_FIXED_INCLUDES
  982. #define HAVE_STRERROR
  983. #define HAVE_GETGROUPS
  984. #define VOID_SIGHANDLER
  985. #undef USE_GNU_MALLOC
  986.  
  987. /* If you want to build bash for M88K BCS compliance on a DG/UX 5.4
  988.    or above system, do the following:
  989.  
  990.      - Add -D_M88K_SOURCE to SYSDEP_CFLAGS above.
  991.      - Before running "make" type: "eval `sde-target m88kbcs`" to set
  992.        the software development environment to build BCS objects. */
  993. #endif /* __DGUX__ */
  994.  
  995. /* ************************ */
  996. /*                          */
  997. /*          XD88            */
  998. /*                          */
  999. /* ************************ */
  1000. #if defined (m88k) && !defined (M_MACHNE)
  1001. #define M_MACHINE "XD88"
  1002. #define M_OS USG
  1003. #define HAVE_VPRINTF
  1004. #undef HAVE_GETWD
  1005. #undef HAVE_ALLOCA
  1006. #endif /* XD88 && ! M_MACHINE */
  1007.  
  1008. /* ************************ */
  1009. /*                */
  1010. /*    Harris Night Hawk        */
  1011. /*                */
  1012. /* ************************ */
  1013. /* This is for the Harris Night Hawk family. */
  1014. #if defined (_CX_UX)
  1015. #if defined (_M88K)
  1016. # define M_MACHINE "nh4000"
  1017. #else
  1018. #  if defined (hcx)
  1019. #    define M_MACHINE "nh2000"
  1020. #  else
  1021. #    if defined (gcx)
  1022. #      define M_MACHINE "nh3000"
  1023. #    endif
  1024. #  endif
  1025. #endif
  1026. #define M_OS USG
  1027. #define SYSDEP_CFLAGS -g -Xa -v -Dgetwd=bash_getwd -D_POSIX_SOURCE -D_POSIX_JOB_CONTROL
  1028. #define USE_TERMCAP_EMULATION
  1029. #define HAVE_VFPRINTF
  1030. #define HAVE_GETGROUPS
  1031. #define VOID_SIGHANDLER
  1032. #undef USE_GNU_MALLOC
  1033. #undef HAVE_GETWD
  1034. #endif
  1035.  
  1036. /* **************************************** */
  1037. /*                        */
  1038. /*            Tektronix                */
  1039. /*                        */
  1040. /* **************************************** */
  1041. /* These are unproven as yet. */
  1042. #if defined (Tek4132)
  1043. #define M_MACHINE "Tek4132"
  1044. #define M_OS Bsd
  1045. #define HAVE_SYS_SIGLIST
  1046. #define HAVE_SETLINEBUF
  1047. #define HAVE_GETGROUPS
  1048. #endif /* Tek4132 */
  1049.  
  1050. #if defined (Tek4300)
  1051. #define M_MACHINE "Tek4300"
  1052. #define M_OS Bsd
  1053. #define HAVE_SYS_SIGLIST
  1054. #define HAVE_SETLINEBUF
  1055. #define HAVE_GETGROUPS
  1056. #endif /* Tek4300 */
  1057.  
  1058. /* ************************ */
  1059. /*                */
  1060. /*     Sequent Balances     */
  1061. /*       (Dynix 3.x)        */
  1062. /* ************************ */
  1063. #if defined (sequent) && !defined (M_MACHINE)
  1064. #define M_MACHINE "Sequent"
  1065. #define M_OS Bsd
  1066. #undef HAVE_DUP2
  1067. #define HAVE_SYS_SIGLIST
  1068. #define HAVE_SETLINEBUF
  1069. #define HAVE_GETGROUPS
  1070. #endif /* sequent */
  1071.  
  1072. /* ****************************************** */
  1073. /*                          */
  1074. /*    NCR Tower 32, System V Release 3          */
  1075. /*                          */
  1076. /* ****************************************** */
  1077. #if defined (tower32)
  1078. #define M_MACHINE "tower32"
  1079. #define M_OS USG
  1080. #if !defined (HAVE_GCC)
  1081. #  define REQUIRED_LIBRARIES -lPW
  1082.    /* Disable stack/frame-pointer optimization, incompatible with alloca */
  1083. #  define SYSDEP_CFLAGS -DUSGr3 -W2,-aat
  1084. #else
  1085. #  define SYSDEP_CFLAGS -DUSGr3
  1086. #endif /* !HAVE_GCC */
  1087. #define HAVE_VFPRINTF
  1088. #define USE_TERMCAP_EMULATION
  1089. #define VOID_SIGHANDLER
  1090. #undef HAVE_GETWD
  1091. #endif /* tower32 */
  1092.  
  1093. /* ************************ */
  1094. /*                */
  1095. /*    Ardent Titan OS v2.2  */
  1096. /*                */
  1097. /* ************************ */
  1098. #if defined (ardent)
  1099. #define M_MACHINE "Ardent Titan"
  1100. #define M_OS Bsd
  1101. #if !defined (titan)
  1102. #  define HAVE_GETGROUPS
  1103. #endif
  1104. #define HAVE_SYS_SIGLIST
  1105. #define HAVE_SETLINEBUF
  1106. #define SYSDEP_CFLAGS -43 -w
  1107. #define SYSDEP_LDFLAGS -43
  1108. #undef HAVE_ALLOCA
  1109. #undef USE_GNU_MALLOC
  1110. #undef HAVE_VFPRINTF
  1111. #endif /* ardent */
  1112.  
  1113. /* ************************ */
  1114. /*                */
  1115. /*      Stardent        */
  1116. /*                */
  1117. /* ************************ */
  1118. #if defined (stardent) && !defined (M_MACHINE)
  1119. #define M_MACHINE "Stardent"
  1120. #define M_OS USG
  1121. #undef HAVE_GETWD
  1122. #undef HAVE_ALLOCA
  1123. #define HAVE_SYS_SIGLIST
  1124. #define USE_TERMCAP_EMULATION
  1125. #define VOID_SIGHANDLER
  1126. #endif /* stardent */
  1127.  
  1128. /* ************************ */
  1129. /*                */
  1130. /*    Concurrent        */
  1131. /*                */
  1132. /* ************************ */
  1133. #if defined (concurrent)
  1134. /* Use the BSD universe (`universe ucb') */
  1135. #define M_MACHINE "Concurrent"
  1136. #define M_OS Bsd
  1137. #define HAVE_SYS_SIGLIST
  1138. #define HAVE_SETLINEBUF
  1139. #define HAVE_GETGROUPS
  1140. #endif /* concurrent */
  1141.  
  1142.  
  1143. /* **************************************************************** */
  1144. /*                                                                  */
  1145. /*             Honeywell Bull X20 (lele@@idea.sublink.org)        */
  1146. /*                                                                  */
  1147. /* **************************************************************** */
  1148. #if defined (hbullx20)
  1149. #define M_MACHINE "Honeywell"
  1150. #define M_OS USG
  1151. #define SYSDEP_CFLAGS -DUSG
  1152. /* Bull x20 needs -lposix for struct dirent. */
  1153. #define REQUIRED_LIBRARIES -lPW -lposix
  1154. #define HAVE_VFPRINTF
  1155. #define VOID_SIGHANDLER
  1156. #define USE_TERMCAP_EMULATION
  1157. #undef HAVE_GETWD
  1158. #endif  /* hbullx20 */
  1159.  
  1160. /* ************************ */
  1161. /*                */
  1162. /*    Cadmus (tested once)  */
  1163. /*                */
  1164. /* ************************ */
  1165. #if defined (cadmus) && !defined (M_MACHINE)
  1166. #define M_MACHINE "cadmus"
  1167. #define M_OS BrainDeath        /* By Far, the worst yet. */
  1168. #define SYSDEP_CFLAGS -DUSG
  1169. #define HAVE_VFPRINTF
  1170. #define VOID_SIGHANDLER
  1171. #define USE_TERMCAP_EMULATION
  1172. #undef HAVE_GETWD
  1173. #undef HAVE_ALLOCA
  1174. #endif  /* cadmus */
  1175.  
  1176. /* ************************ */
  1177. /*                */
  1178. /*    MagicStation        */
  1179. /*                */
  1180. /* ************************ */
  1181. #if defined (MagicStation)
  1182. #define M_MACHINE "MagicStation"
  1183. #define M_OS USG
  1184. #define SYSDEP_CFLAGS -DUSGr4
  1185. #define HAVE_GETGROUPS
  1186. #define HAVE_STRERROR
  1187. #define VOID_SIGHANDLER
  1188. #undef HAVE_ALLOCA
  1189. #undef HAVE_GETWD
  1190. #endif /* MagicStation */
  1191.  
  1192. /* **************************************************************** */
  1193. /*                                    */
  1194. /*            Generic Entry                   */
  1195. /*                                    */
  1196. /* **************************************************************** */
  1197.  
  1198. /* Use this entry for your machine if it isn't represented here.  It
  1199.    is loosely based on a Vax running Bsd. */
  1200.  
  1201. #if !defined (M_MACHINE)
  1202. #define UNKNOWN_MACHINE
  1203. #endif
  1204.  
  1205. #ifdef UNKNOWN_MACHINE
  1206. #define M_MACHINE "UNKNOWN_MACHINE"
  1207. #define M_OS UNKNOWN_OS
  1208.  
  1209. /* Required libraries for building on this system. */
  1210. #define REQUIRED_LIBRARIES
  1211.  
  1212. /* Define HAVE_SYS_SIGLIST if your system has sys_siglist[]. */
  1213. #define HAVE_SYS_SIGLIST
  1214.  
  1215. /* Undef HAVE_ALLOCA if you are not using Gcc, and neither your library
  1216.    nor compiler has a version of alloca ().  In that case, we will use
  1217.    our version of alloca () in alloca.c */
  1218. /* #undef HAVE_ALLOCA */
  1219.  
  1220. /* Undef USE_GNU_MALLOC if there appear to be library conflicts, or if you
  1221.    especially desire to use your OS's version of malloc () and friends.  We
  1222.    reccommend against this because GNU Malloc has debugging code built in. */
  1223. #define USE_GNU_MALLOC
  1224.  
  1225. /* Define USE_GNU_TERMCAP if you want to use the GNU termcap library
  1226.    instead of your system termcap library. */
  1227. /* #define USE_GNU_TERMCAP */
  1228.  
  1229. /* Define HAVE_SETLINEBUF if your machine has the setlinebuf ()
  1230.    stream library call.  Otherwise, setvbuf () will be used.  If
  1231.    neither of them work, you can edit in your own buffer control
  1232.    based upon your machines capabilities. */
  1233. #define HAVE_SETLINEBUF
  1234.  
  1235. /* Define HAVE_VFPRINTF if your machines has the vfprintf () library
  1236.    call.  Otherwise, printf will be used.  */
  1237. #define HAVE_VFPRINTF
  1238.  
  1239. /* Define HAVE_GETGROUPS if your OS allows you to be in multiple
  1240.    groups simultaneously by supporting the `getgroups' system call. */
  1241. /* #define HAVE_GETGROUPS */
  1242.  
  1243. /* Define SYSDEP_CFLAGS to be the flags to cc that make your compiler
  1244.    work.  For example, `-ma' on the RT makes alloca () work. */
  1245. #define SYSDEP_CFLAGS
  1246.  
  1247. /* Define HAVE_STRERROR if your system supplies a definition for strerror ()
  1248.    in the C library, or a macro in a header file. */
  1249. /* #define HAVE_STRERROR */
  1250.  
  1251. /* If your system does not supply /usr/lib/libtermcap.a, but includes
  1252.    the termcap routines as a part of the curses library, then define
  1253.    this.  This is the case on some System V machines. */
  1254. /* #define USE_TERMCAP_EMULATION */
  1255.  
  1256. /* Define VOID_SIGHANDLER if your system's signal () returns a pointer to
  1257.    a function returning void. */
  1258. /* #define VOID_SIGHANDLER */
  1259.  
  1260. /* Define EXTRA_LIB_SEARCH_PATH if your required libraries (or standard)
  1261.    ones for that matter) are not normally in the ld search path.  For
  1262.    example, some machines require /usr/ucblib in the ld search path so
  1263.    that they can use -lucb. */
  1264. /* #define EXTRA_LIB_SEARCH_PATH /usr/ucblib */
  1265.  
  1266. /* Define SEARCH_LIB_NEEDS_SPACE if your native ld requires a space after
  1267.    the -L argument, which gives the name of an alternate directory to search
  1268.    for libraries specified with -llib.  For example, the HPUX ld requires
  1269.    this:
  1270.        -L lib/readline -lreadline
  1271.    instead of:
  1272.     -Llib/readline -lreadline
  1273.  */
  1274. /* #define SEARCH_LIB_NEEDS_SPACE */
  1275.  
  1276. #endif  /* UNKNOWN_MACHINE */
  1277. @
  1278.  
  1279.  
  1280. 1.1
  1281. log
  1282. @Initial revision
  1283. @
  1284. text
  1285. @d55 19
  1286. d170 1
  1287. d287 20
  1288. @
  1289.